home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Build Support / SCPCHeaders.pch < prev    next >
Encoding:
Text File  |  1996-02-19  |  2.6 KB  |  140 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        SCPCHeaders.pch
  3.  
  4.     Contains:    OpenDocâ„¢ sample code pre-compiled header
  5.  
  6.     Written by:    Steve Smith
  7.     
  8.     Copyright:    Â© 1994,95 by Apple Computer, Inc., all rights reserved.
  9. */
  10.  
  11. // -- Compiler/Preprocessor Switches --
  12.  
  13. // Just before you are ready to ship, uncomment the line below.
  14. // Doing so will remove all the SampleCode_SamplePartMethodDebug()
  15. // lines from the generated code.
  16. // Note: The _RETAIL switch can be found in somcdev.h
  17. //#define _RETAIL
  18.  
  19. // ODDebug must be defined because we are using Except.cpp & ODDebug.cpp.
  20. #ifdef _RETAIL
  21.     // turn off debugging
  22.     #ifndef ODDebug
  23.     #define ODDebug 0
  24.     #endif
  25. #else
  26.     // turn on debugging
  27.     #ifndef ODDebug
  28.     #define ODDebug 1
  29.     #endif
  30. #endif
  31.  
  32. // We should no longer be using the "old" routine names/structs.
  33. #ifndef OLDROUTINENAMES
  34. #define OLDROUTINENAMES 0
  35. #endif
  36. #ifndef OLDROUTINELOCATIONS
  37. #define OLDROUTINELOCATIONS 0
  38. #endif
  39.     
  40. // Some public headers #ifdef out structs not useful to other platforms.
  41. #ifndef _PLATFORM_MACINTOSH_
  42. #define _PLATFORM_MACINTOSH_ 1
  43. #endif
  44.  
  45. // If you use the STDTypIO utility, you must define the platforms
  46. // endian-ness.
  47. #ifndef _PLATFORM_BIG_ENDIAN_
  48. #define _PLATFORM_BIG_ENDIAN_ 1
  49. #endif
  50.  
  51. // There is an apparent bug in the ConditionalMacros.h v2.1 header. This
  52. // prevents the Symantec 8.0 C++ compiler from exporting symbols. To work
  53. // around the problem, we define PRAGMA_IMPORT_SUPPORTED.
  54. #if defined(__SC__)
  55. #define PRAGMA_IMPORT_SUPPORTED 1
  56. #endif
  57.  
  58. // -- OpenDoc Includes --
  59.  
  60. #ifndef _EXCEPT_
  61. #include "Except.h"
  62. #endif
  63.  
  64. #ifndef _QDFIXM_
  65. #include <QDFixM.h>
  66. #endif
  67.  
  68. #ifndef _ODTYPES_
  69. #include <ODTypes.h>
  70. #endif
  71.  
  72. #ifndef SOM_ODPart_h
  73. #include <Part.h>
  74. #endif
  75.  
  76. #ifndef SOM_ODFacet_h
  77. #include <Facet.h>
  78. #endif
  79.  
  80. #ifndef SOM_ODFrame_h
  81. #include <Frame.h>
  82. #endif
  83.  
  84. #ifndef SOM_ODShape_h
  85. #include <Shape.h>
  86. #endif
  87.  
  88. #ifndef SOM_Module_OpenDoc_StdProps_defined
  89. #include <StdProps.h>
  90. #endif
  91.  
  92. #ifndef SOM_Module_OpenDoc_StdTypes_defined
  93. #include <StdTypes.h>
  94. #endif
  95.  
  96. #ifndef _STDDEFS_
  97. #include <StdDefs.h>
  98. #endif
  99.  
  100. #ifndef SOM_Module_OpenDoc_Commands_defined
  101. #include <CmdDefs.h>
  102. #endif
  103.  
  104. #ifndef SOM_ODDraft_h
  105. #include <Draft.h>
  106. #endif
  107.  
  108. #ifndef SOM_ODStorageUnit_h
  109. #include <StorageU.h>
  110. #endif
  111.  
  112. #ifndef SOM_ODTransform_h
  113. #include <Trnsform.h>
  114. #endif
  115.  
  116. #ifndef SOM_ODMenuBar_h
  117. #include <MenuBar.h>
  118. #endif
  119.  
  120. #ifndef SOM_ODWindow_h
  121. #include <Window.h>
  122. #endif
  123.  
  124. #ifndef SOM_ODSession_h
  125. #include <ODSessn.h>
  126. #endif
  127.  
  128. // -- Toolbox Includes --
  129.  
  130. #include <Dialogs.h>
  131. #include <Errors.h>
  132. #include <Icons.h>
  133. #include <LowMem.h>
  134. #include <Menus.h>
  135. #include <Quickdraw.h>
  136. #include <Resources.h>
  137. #include <ToolUtils.h>
  138. #include <Types.h>
  139. #include <Windows.h>
  140.